<?php $this->layout('layout.php') ?>
<?php $this->title = 'Login' ?>

<div id="corpsinscrip">
    <h1>- <?= $this->titleInscr ?> -</h1>

    <div id="main" class="formBox">

        <form class="form" method="post" action="<?= $this->route ?>">
            <div class="row firstname">
                <input type="text" id="firstname" name="firstname" placeholder="First Name"/>
            </div>
            <div class="row lastname">
                <input type="text" id="lastname" name="lastname" placeholder="Last Name"/>
            </div>
            <div class="row age">
                <input type="text" id="age" name="age" placeholder="Age"/>
            </div>
            <div class="row email">
                <input type="text" id="email" name="email" placeholder="Email"/>
            </div>

            <div class="row pass">
                <input type="password" id="password1" name="password1" placeholder="Password"/>
            </div>

            <div class="row pass">
                <input type="password" id="password2" name="password2" placeholder="Password (repeat)" disabled/>
            </div>

            <!-- The rotating arrow -->
            <div class="arrowCap"></div>
            <div class="arrow"></div>

            <p class="meterText">Password Meter</p>

            <input type="submit" value="<?= $this->buttonTxt; ?>"/>
        </form>
    </div>
</div>


<!--<script type='text/javascript'>
	var age = 5;
	for (var i = 1; i <= 95; i++){
		var monOption = document.createElement('option');
		monOption.text = age + i;
	    monOption.value = age + i;
	    document.getElementById('age').options[i] = monOption;
	}
</script>

Script pour Annéé/Mois et jour pour saisie age

    <script type='text/javascript'>
    var jour = 0;
    var mois = 0;
    var annee = 1929;
    for (var i = 1; i <= 31; i++) {
        var monOption = document.createElement('option');
        monOption.text = jour + i;
        monOption.value = jour + i;

        document.getElementById('jour').options[i] = monOption;
    }
    for (var i = 1; i <= 12; i++) {
        var monOption = document.createElement('option');
        monOption.text = mois + i;
        monOption.value = mois + i;

        document.getElementById('mois').options[i] = monOption;
    }
    for (var i = 1; i <= 120; i++) {
        var monOption = document.createElement('option');
        monOption.text = annee + i;
        monOption.value = annee + i;

        document.getElementById('annee').options[i] = monOption;
    }
</script>

et pour l'HTML : <select name='annee' id='annee'>
    						<option value='0'>Année</option>
						</select>
						<select name='mois' id='mois'>
    						<option value='0'>Mois</option>
						</select>
						<select name='jour' id='jour'>
    						<option value='0'>Jour</option>
						</select>
!-->




